import * as types from '../action-types';
import { push } from '../../connected-react-router';
export default {
  increment() {
    return { type: types.INCREMENT };
  },
  goto(path: string) {
    return push({ pathname: path }); //会派发这么一个动作： {type:call_history_method,payload:{method:'push',args:[location]}}
  }
}
